.vin-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  font-size: $tag-font-size;
  border-radius: $tag-default-border-radius;

  &--default {
    color: $tag-default-color;
    background: $tag-default-background-color;
    border: $tag-border-width solid transparent;

    &.vin-tag--plain {
      color: $tag-default-background-color;
      border: $tag-border-width solid $tag-default-background-color;
    }
  }

  &--primary {
    color: $tag-default-color;
    background: $tag-primary-background-color;
    border: $tag-border-width solid transparent;

    &.vin-tag--plain {
      color: $tag-primary-background-color;
      border: $tag-border-width solid $tag-primary-background-color;
    }
  }

  &--success {
    color: $tag-default-color;
    background: $tag-success-background-color;
    border: $tag-border-width solid transparent;

    &.vin-tag--plain {
      color: $tag-success-background-color;
      border: $tag-border-width solid $tag-success-background-color;
    }
  }

  &--danger {
    color: $tag-default-color;
    background: $tag-danger-background-color;
    border: $tag-border-width solid transparent;

    &.vin-tag--plain {
      color: $tag-danger-background-color-plain;
      border: $tag-border-width solid $tag-danger-background-color-plain;
    }
  }

  &--warning {
    color: $tag-default-color;
    background: $tag-warning-background-color;
    border: $tag-border-width solid transparent;

    &.vin-tag--plain {
      color: $tag-warning-background-color;
      border: $tag-border-width solid $tag-warning-background-color;
    }
  }

  &--round {
    border-radius: $tag-round-border-radius;
  }

  &--mark {
    border-radius: 0 12px 12px 0;
  }

  &--close {
    margin-left: 4px;
    cursor: pointer;
  }
}
